﻿using Codeflows;
using Codeflows.Results;

namespace CodeflowsTests.Scenarios
{
    public class Pause : Codeflow
    {
        public Result Start()
        {
            return Pause("Resume");
        }

        public Result Resume()
        {
            return Jump<Pause>(c => c.Finish());
        }

        public Result Finish()
        {
            return End();
        }
    }
}
